package cn.com.netedge.iot.frontend.comm.constants;

import cn.com.netedge.iot.frontend.comm.vo.DelayMessage;
import org.springframework.context.ApplicationContext;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class AppConstant {
    public static volatile String machineName;

    public static boolean LOCAL_MODE = false;//本地版模式

    public static ApplicationContext APP_CONTEXT;

    public static final int MESSAGE_SEND_TIMEOUT = 30;//终端串行发送报文 ，超时时间，单位 秒

    public static Map<String, List<DelayMessage>> rtuDelayMessageMap = new ConcurrentHashMap<>(); //终端未能及时下发报文
}
